package com.example.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.dao.SalesOrderDao;
import com.example.entity.SalesOrder;
import com.example.service.SalesOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class SalesOrderServiceImpl extends ServiceImpl<SalesOrderDao, SalesOrder> implements SalesOrderService {

    @Autowired
    private SalesOrderDao salesOrderDao;

    @Override
    public List<SalesOrder> getGoodsNumber() {
        return salesOrderDao.getGoodsNumber();
    }

    @Override
    public List<SalesOrder> getTotalForSalesman() {
        return salesOrderDao.getTotalForSalesman();
    }
}
